<%--
  Created by IntelliJ IDEA.
  User: admin
  Date: 2017/10/26
  Time: 12:04
  To change this template use File | Settings | File Templates.
--%>
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8" isELIgnored="false" session="true" %>
<%@taglib prefix="s" uri="http://www.springframework.org/tags" %>
<%
    String path = request.getContextPath();
    String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/";
%>

<!DOCTYPE html>
<html>
<head>
    <base href="<%=basePath%>">
    <title><s:message code="M_1D10_FMA_MANAGEMENT_TAG"/></title>
    <%@ include file="/page/comPage/comCSS.html" %>
    <%@ include file="/page/comPage/navbar.html" %>
</head>
<body>
<div class="container-fluid">
    <div class="col-sm-12 btnDivCss">
        <button class="btn btn-success" id="move_out_btn"><s:message code="MOVE_OUT_TAG" /></button>
        <button class="btn btn-primary" id="clean_btn"><s:message code="CLEAR_TAG" /></button>
    </div>
    <div class="col-sm-4">
        <fieldset>
            <legend><s:message code="PLEASE_INPUT_GLASS_CODE" ></s:message></legend>
        </fieldset>
        <form class="form-horizontal">
			<div class="form-group col-sm-12">
				<label class="control-label col-sm-6" for="toolIdSel">
					<s:message code="TOOL_ID_TAG" />
				</label>
				<div class="col-sm-6">
					<select id="toolIdSel" class="form-control"></select>
				</div>
			</div>
			<div class="form-group col-sm-12">
				<label class="control-label col-sm-6" for="prdSeqIdTxt">
					<s:message code="SHEET_ID_TAG" />
				</label>
                <div class="col-sm-6">
                    <input type="text" id="prdSeqIdTxt"  class="form-control"/>
                </div>
			</div>
        </form>
    </div>
    <div class="col-sm-8" >
        <fieldset>
            <legend><s:message code="SHEET_INFO_TAG" ></s:message></legend>
        </fieldset>
	    <div class="col-sm-12 divTop">
	        <div id="prodListDiv">
	            <table id="prodListGrd"></table>
	            <div id="prodListPg"></div>
	        </div>
	    </div>
    </div>
    <div class="col-sm-12" >
	    <div class="col-sm-6" >
	        <fieldset>
	            <legend><s:message code="MTRL_INFO_TAG" ></s:message></legend>
	        </fieldset>
		    <div class="col-sm-12 divTop2">
		        <div id="mtrlListDiv">
		            <table id="mtrlListGrd"></table>
		            <div id="mtrlListPg"></div>
		        </div>
		    </div>
	    </div>
	    <div class="col-sm-6" >
	        <fieldset>
	            <legend><s:message code="DEFECT_JUDGE_DETAIL_TAG" ></s:message></legend>
	        </fieldset>
		    <div class="col-sm-12 divTop2">
		        <div id="defectJudgeDetailListDiv">
		            <table id="defectJudgeDetailListGrd"></table>
		            <div id="defectJudgeDetailListPg"></div>
		        </div>
		    </div>
	    </div>
    </div>
	<div class="col-sm-12">
        <fieldset>
            <legend><s:message code="JUDGE_INFO_TAG" ></s:message></legend>
        </fieldset>
 		<form class="form-horizontal col-sm-6">
	        <fieldset>
	            <legend><s:message code="DEFECT_JUDGE_TAG" ></s:message></legend>
	        </fieldset>

	        <div class="col-sm-12">
				<div class="form-group col-sm-8">
					<label class="control-label col-sm-2" for="defectCodeSel">
					</label>
					<div class="col-sm-8">
						<label id="radioOKlb"><input type="radio" name="name" checked id="radioOK" checked="checked"/>OK</label>
					</div>
				</div>
				<div class="form-group col-sm-8">
					<label class="control-label col-sm-2" for="defectCodeSel">
					</label>
					<div class="col-sm-8">
						<label id="radioNGlb"><input type="radio" name="name" id="radioNG"/>NG</label>
					</div>
				</div>
				<div class="form-group col-sm-8">
					<label class="control-label col-sm-4" for="defectCodeSel">
						<s:message code="DEFECT_CODE_TAG" />
					</label>
					<div class="col-sm-6">
						<select id="defectCodeSel" class="form-control"></select>
					</div>
				</div>
				<div class="form-group col-sm-8">
					<label class="control-label col-sm-4" for="remarkTxt">
						<s:message code="REMARK_INFO_TAG" />
					</label>
					<div class="col-sm-6">
						<input id="remarkTxt" class="form-control" type="text"/>
					</div>
				</div>
	        </div>
		</form>
		<form class="form-horizontal col-sm-6">
	        <fieldset>
	            <legend><s:message code="PROCESS_JUDGE_TAG" ></s:message></legend>
	        </fieldset>
			<div class="form-group col-sm-12">
			    <div class="col-sm-4">
			        <label id="radioOldMainlb"><input type="radio" name="name" checked id="radioOldMain" checked="checked"/>
						至下一制程
					</label>
			    </div>
			</div>
			<div class="form-group col-sm-12">
			    <div class="col-sm-4">
			        <label id="radioNewMainlb"><input type="radio" name="name" checked id="radioNewMain" checked="checked"/>
						至主工艺路线(自定义)
					</label>
			    </div>
				<div class="col-sm-4">
					<select id="toMainPathIdSel" class="form-control" disabled="disabled"></select>
				</div>
				<div class="col-sm-4">
					<select id="toMainOpeIdSel" class="form-control" disabled="disabled"></select>
				</div>
			</div>
			<div class="form-group col-sm-12">
			    <div class="col-sm-4">
			        <label id="radioToReworklb"><input type="radio" name="name" id="radioToRework"/>
			        	至<s:message code="REWORK_PATH_TAG" />
			        </label>
			    </div>
				<div class="col-sm-4">
					<select id="toReworkPathSel" class="form-control" disabled="disabled"></select>
				</div>
			</div>
		</form>
	</div>
</div>
<!-- 不良信息 -->
<div id="defectDialog" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="title" aria-hidden="true">
    <div class="modal-dialog">
        <div class="modal-content">
            <!-- 模框头部 -->
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
                <h4 class="modal-title"><s:message code="DEFECT_INFO_TAG" /></h4>
            </div>
            <!-- 模框主体 -->
            <div class="modal-body">
				<form class="form-horizontal row">
					<div class="col-sm-12">
						<label class="control-label col-sm-4" for="defectDialog_defectTypeSel">
							<s:message code="DEFECT_TYPE_TAG" />
						</label>
						<div class="col-sm-6">
							<select id="defectDialog_defectTypeSel" class="form-control"></select>
						</div>
					</div>
				</form>
				<form class="form-horizontal row">
					<div class="col-sm-12" >
					    <fieldset>
			                <legend><s:message code="DEFECT_LIST_TAG" /></legend>
			            </fieldset>
                        <div id="defectDialog_defectListDiv">
                            <table id="defectDialog_defectListGrd"></table>
                            <div id="defectDialog_defectListPg"></div>
                        </div>
					</div>
				</form>
            </div>
			<!-- 模框底部 -->
			<div class="modal-footer">
				<a id="defectDialog_cancelBtn" class="btn" data-dismiss="modal"> <s:message code="CANCEL_TAG" />
				</a> <a id="defectDialog_sureBtn" class="btn btn-primary"> <s:message code="SURE_TAG" />
				</a>
			</div>
        </div>
    </div>
</div>
<%@ include file="/page/comPage/comJS.html" %>
<script src="js/page/1000/1D10.js"></script>
</body>
</html>